Create a new query from a string containing one or more S-expression patterns.
Get the number of captures in the query.
Get the name of one of the query's captures, given a TSQueryCapture.
Get the name of one of the query's captures.
Disable a certain capture within a query.
Disable a certain pattern within a query.
Execute a query over an entire node.
Execute a query between given start and end byte offsets.
Execute a query between given start and end Points.
Get the number of patterns in the query.
Get all of the predicates for the given pattern in the query.
Get the name of one of the query's string literals.
Get the byte offset where the given pattern starts in the query's source.
Check if a given step in a query is 'definite'.
Get the number of string literals in the query.
The underlying TSQuery
A query to retrieve information from the syntax tree.